package cn.com.cifi.mars.bean.vo.supply;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author Administrator
 *
 */

@ApiModel(value="NOS签约数据",description="NOS签约数据")
public class NosSignVO {
	
	@ApiModelProperty(name = "buildId", value = "楼栋ID")
	private String buildId;
	
	@ApiModelProperty(name = "isParking", value = "是否车位楼栋")
	private Integer isParking;
	
	@ApiModelProperty(name = "yearMonth", value = "时间（年月）")
	private String yearMonth;
	
	@ApiModelProperty(name = "roomCount", value = "房间套数")
	private Integer roomCount;
    
	@ApiModelProperty(name = "roomArea", value = "成交面积")
	private BigDecimal roomArea;
    
	@ApiModelProperty(name = "tradeMoney", value = "成交金额")
	private BigDecimal tradeMoney;

	public String getBuildId() {
		return buildId;
	}

	public void setBuildId(String buildId) {
		this.buildId = buildId;
	}
	
	public Integer getIsParking() {
		return isParking;
	}

	public void setIsParking(Integer isParking) {
		this.isParking = isParking;
	}

	public String getYearMonth() {
		return yearMonth;
	}

	public void setYearMonth(String yearMonth) {
		this.yearMonth = yearMonth;
	}

	public Integer getRoomCount() {
		if(roomCount == null) {
			roomCount = 0;
		}
		return roomCount;
	}

	public void setRoomCount(Integer roomCount) {
		this.roomCount = roomCount;
	}

	public BigDecimal getRoomArea() {
		if(roomArea == null) {
			roomArea = BigDecimal.ZERO;
		}
		return roomArea;
	}

	public void setRoomArea(BigDecimal roomArea) {
		this.roomArea = roomArea;
	}

	public BigDecimal getTradeMoney() {
		if(tradeMoney == null) {
			tradeMoney = BigDecimal.ZERO;
		}
		return tradeMoney;
	}

	public void setTradeMoney(BigDecimal tradeMoney) {
		this.tradeMoney = tradeMoney;
	}

	@Override
	public String toString() {
		return "NosSignVO{" +
				"buildId='" + buildId + '\'' +
				", isParking=" + isParking +
				", yearMonth='" + yearMonth + '\'' +
				", roomCount=" + roomCount +
				", roomArea=" + roomArea +
				", tradeMoney=" + tradeMoney +
				'}';
	}
}
